package com.ruoyi.system.mapper;

import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.PAskType;
import com.ruoyi.system.domain.vo.PAskTypeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 咨询类别Mapper接口
 *
 * @author ruoyi
 * @date 2022-07-13
 */
public interface PAskTypeMapper extends BaseMapperPlus<PAskTypeMapper, PAskType, PAskTypeVo> {

    /**
     * 前端-咨询分类下拉
     */
    List<PAskType> selectFontList();

    /**
     * 根据id查询咨询类别
     */
    PAskType selectByTypeId(@Param("typeId") Long typeId);
}
